<template>
  <div>
    登陆中...........
  </div>
</template>

<script>
  export default {
    name: "WeiboCallback",
    data: function () {
      return {
        token: '',
      }
    },
    mounted() {
      this.token = this.$route.query['code'];
      this.axios({
        url: 'http://localhost:8000/myapp/weiboback/',
        method: 'post',
        data: {'token': this.token}
      }).then(res => {
        console.log(res.data)
      })
    }
  }
</script>

<style scoped>

</style>
